package org.linlinjava.litemall.admin.beans.dto;

import javax.validation.constraints.NotNull;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

@ApiModel("设置预警值")
@Data
public class ShopMerchandiseSetWarnNumDto {
	//原料ID
	@ApiModelProperty("id")
	@NotNull
    private Integer id;

	@ApiModelProperty("预警数量")
	@NotNull
    private Integer warnNumber;

	@ApiModelProperty("盘点亏损值")
	private BigDecimal lossValue = BigDecimal.ZERO;

}
